package rrrmai.service;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rrrmai.model.Rsp;
import xgggh.model.Auth;

/**
 * Created by summer on 2018/3/20.
 */

public interface AuthService {

    @POST("rpc/auth")
    @FormUrlEncoded
    Flowable<Rsp<Auth>> auth(@Field("userName") String userName
            , @Field("password") String password
    );


}
